vtd: correct loglevel when check group devices
authorTiejun Chen <tiejun.chen@intel.com>
Wed, 16 Sep 2015 09:20:54 +0000 (11:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Sep 2015 09:20:54 +0000 (11:20 +0200)
commit92906abbee6d1dc975111a88d83cd3550f71e4c8
tree1896af412d08e3da30444811e1d601830c409a2c
parentc7d5d5d8ea1ecbd6ef8b47dace4dec825f0f6e48
vtd: correct loglevel when check group devices

Since commit 3848058e7dd6 (vtd/iommu: permit group devices to
passthrough in relaxed mode) is introduced, we always print
message as XENLOG_G_WARNING but its not correct in the case of
strict mode. So here is making this message depending on the
specific mode.

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.c